package com.gitee.hljdrl.dsbridge.jsapi;

import androidx.annotation.Keep;

@Keep
public abstract class BasicBridge extends DSPlugin {


    public String[] parseNamespace(String method) {
        int pos = method.lastIndexOf('.');
        String namespace = "";
        if (pos != -1) {
            namespace = method.substring(0, pos);
            method = method.substring(pos + 1);
        }
        return new String[]{namespace, method};
    }



}
